package com.example.tvmenu.data;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by owen on 2017/7/6.
 */

public class ItemDatas {
    public static String[] menus = {"亲情", "友情", "旅行", "节日", "回忆"};
    public static String[] familys = {"父子", "母子", "夫妻", "兄弟", "父子", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"};
    public static String[] ships = {"同窗", "战友", "同事"};
    public static String[] journeys = {"日本", "泰国", "北京", "新西兰", "美国", "新加坡"};
    public static String[] holidays = {"劳动节", "春节", "清明节", "国庆节", "端午节", "圣诞节"};
    public static String[] memorys = {"少年", "青年", "大学", "中学", "小学"};

    public static List<ItemBean> getDatas(int count) {
        return getMovietDatas(count);
//        List<ItemBean> mItems = new ArrayList<>();
//        ItemBean itemBean;
//        for(int i=0; i<count; i++) {
//            itemBean = new ItemBean(i, ImgDatas.getUrl());
//            mItems.add(itemBean);
//        }
//        return mItems;
    }

    public static List<ItemBean> getMovietDatas(int count) {
        List<ItemBean> mItems = new ArrayList<>();
        ItemBean itemBean;
        for (int i = 0; i < count; i++) {
            itemBean = new ItemBean(i, ImgDatas.getMovieUrl());
            mItems.add(itemBean);
        }
        return mItems;
    }

    public static List<ItemBean> getLeftMenu(int count) {
        List<ItemBean> mItems = new ArrayList<>();
        ItemBean itemBean;
        for (int i = 0; i < count; i++) {
            itemBean = new ItemBean(menus[i]);
            mItems.add(itemBean);
        }
        return mItems;
    }


    public static List<ItemBean> getrightMenu(String[] rightMenus) {
        List<ItemBean> mItems = new ArrayList<>();
        ItemBean itemBean;
        for (int i = 0; i < rightMenus.length; i++) {
            itemBean = new ItemBean(rightMenus[i]);
            mItems.add(itemBean);
        }
        return mItems;

    }


    public static List<ItemBean> getImageDatas() {
        List<ItemBean> mItems = new ArrayList<>();
        ItemBean itemBean;
        for (int i = 0; i < 100; i++) {
            itemBean = new ItemBean(i, "", "");
            mItems.add(itemBean);
        }
        return mItems;
    }

}
